package com.dev.bbs.domain;

import javax.persistence.Id;

import com.dev.common.annotation.Excel;
import com.dev.common.core.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tk.mybatis.mapper.annotation.KeySql;

/**
 * bbs参数配置对象 bbs_config
 * 
 * @author dev
 * @date 2019-09-30
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BbsConfig extends BaseEntity
{
    //
    private static final long serialVersionUID = -1315012918769061578L;

    /** 参数主键 */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer           configId;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String            configName;

    /** 参数键名 */
    @Excel(name = "参数键名")
    private String            configKey;

    /** 参数键值 */
    @Excel(name = "参数键值")
    private String            configValue;

    /** 系统内置（Y是 N否） */
    @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
    private String            configType;
}
